function showCourseDetail() {
			/* get select  key*/
			var selectBox = document.getElementById('chooseCourse');
			var selectedIndex = selectBox.selectedIndex;
			var selectedValue = selectBox.options[selectedIndex].value;
			if(selectedValue==-1){
				document.getElementById("showCourseDetail").innerHTML="<span style='color:red'>please select course!</span>";
			}else{
				schoolingManageService.getCourseById(selectedValue,callbackcourse);
			}
		}
		function callbackcourse(data){
			document.getElementById("showCourseDetail").innerHTML=
				"<span style='color:#444'>" + "<span style='color:#111;'>Course:</span><br />&nbsp;cno:&nbsp;"+data.cno +
				"&nbsp;&nbsp;name:&nbsp;<b>"+data.name+"</b><br />&nbsp;describe:&nbsp;"+data.describe+"</span>";
			document.getElementById("cname_hidden").value=data.name;
		}
		function showInstructorDetail() {
			/* get select  key*/
			var selectBox = document.getElementById('chooseInstructor');
			var selectedIndex = selectBox.selectedIndex;
			var selectedValue = selectBox.options[selectedIndex].value;
			if(selectedValue==-1){
				document.getElementById("showInstructorDetail").innerHTML="<span style='color:red'>please select instructor!</span>";
			}else{
				schoolingManageService.getInstructorById(selectedValue,callbackinstructor);
			}
		}
		function callbackinstructor(data){
			document.getElementById("showInstructorDetail").innerHTML=
				"<span style='color:#444'>" + "<span style='color:#111;'>Instructor:</span><br />&nbsp;ID:&nbsp;"+data.id +
				"&nbsp;&nbsp;name:&nbsp;<b>"+data.name+"</b>&nbsp;&nbsp;sex:&nbsp;"+data.sex+"</span>";
			document.getElementById("instructor_hidden").value=data.name;
		}
		function showPlaceDetail(){
			var place = document.getElementById('place').value;
			document.getElementById("showPlaceDetail").innerHTML=
				"<span style='color:#444' >" + "<span style='color:#111;' >Place:</span>&nbsp;<b>"+place+"</b></span>";
			}
		function showDateDetail(){
			var date = document.getElementById('date').value;
			document.getElementById("showDateDetail").innerHTML=
				"<span style='color:#444' >" + "<span style='color:#111;' >Place:</span>&nbsp;<b>"+date+"</b></span>";
		}
		function modifyTimeTable(sid,courseId,instructorId,courseName,instructorName,place,date){
			/*alert(sid+courseName);*/
			/*window.location.href='schooling_manage/displayModifyTimeTable.action?sid='+sid;*/
			window.location.href='displayModifyTimeTable.action?sid='+sid+'&courseId='+courseId+'&instructorId='+instructorId+'&courseName='+courseName+'&instructorName='+instructorName+'&place='+place+'&date='+date;
			
		}
		function deleteTimeTable(sid){
			window.location.href='deleteTimeTable.action?sid='+sid;
			}